﻿using HeadFirst._01.duck_03.Classes;
using HeadFirst._01.duck_03.Interfaces.fly.Implementions;
using System;

namespace HeadFirst._01.duck_03
{
    class Program
    {
        static void Main(string[] args)
        {
            Duck duck = new ModelDuck();
            duck.performQuack();
            duck.performFly();
            duck.setFlyBehavior(new FlyRocketPowered());
            duck.performFly();

            Console.Read();
        }
    }
}
